﻿using UnityEngine;
using System.Collections;
using GDGeek;

/// <summary>
/// 人机对战游戏控制器
/// </summary>
public class HumanVsAIController {

    ChessGameController chessGameController;

    BasePlayerModel ai;
    BasePlayerModel huaman;

    //u3d game obj view


    public HumanVsAIController ( ) {
        Create( );
        Init( );
    }

    void Create ( ) {
        CreateSubController( );
        CreateModel( );
        CreateView( );
    }

    void CreateSubController ( ) {
        chessGameController = new ChessGameController( );
    }

    void CreateModel ( ) {
        ai = new AIPlayerModel(chessGameController.chessGameModel, RedBlackSide.BLACK);
        huaman = new HumanPlayerModel(chessGameController.chessGameModel, RedBlackSide.RED);
    }

    void CreateView ( ) { 
    
    }

    void Init ( ) {
        InitModel( );
        InitView( );
    }

    void InitModel ( ) { 
    
    }

    void InitView ( ) { 
    
    }



}
